<template>
	<view>
		<button type="default" @click="change">点击我修改b组件数据</button>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			change:function(){
				console.log("ee")
				uni.$emit('changeNum',4)
			}
		}
	}
</script>

<style>

</style>
